<div class="messages {{className}}">
    {{~#each messages~}}
        <div class="message {{type}}">{{text}}</div>
    {{~/each~}}
</div>
